package com.air.ota.vo;

public class SZTCancelInitResTransVO extends SZTBaseResTransVO {
	
	protected byte[] cardAppSequence;
	protected byte[] mac1;
	protected byte[] offlineTrans;
	
	public SZTCancelInitResTransVO(){
		super();
		this.cardAppSequence = new byte[8];
		this.mac1= new byte[4];
		this.offlineTrans = new byte[4];
	}
	public void parse(byte[] pkg){
		super.parse(pkg);
		
		if (this.getTransResult()==0x00){
			System.arraycopy(this.transResponseData, 0, cardAppSequence, 0, 8);
			System.arraycopy(this.transResponseData, 8, mac1, 0, 4);
			System.arraycopy(this.transResponseData, 12, offlineTrans, 0, 4);
		}
	}
	public byte[] getCardAppSequence() {
		return cardAppSequence;
	}
	public byte[] getMac1() {
		return mac1;
	}
	public byte[] getOfflineTrans() {
		return offlineTrans;
	}
	
	
	
}
